class Test6_3 {
	static void Proc( int sel ) throws ArrayIndexOutOfBoundsException
{
		     System.out.println(""+sel);
		     if( sel==0 ){
			     System.out.println("ûвκ쳣");
			     return;
		     }
else if( sel==1 ){
			    int iArray[]=new int[8];
			    iArray[10]=3;
		     }
	     }
	public static void main( String args[] ){
		try
{
			  Proc( 0 );
			  Proc( 1 );
		   }
catch( ArrayIndexOutOfBoundsException e )
{
			  System.out.println(""+e);
		   }
	  }
}
